package com.hqj.consumer.service;

import com.hqj.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "eureka-client-8002",path = "/uc")
public interface UserService {

    @PostMapping("/findUsers")
    public List<User> findUser();


}
